//上传文件
function upFile(ele) {
    var file = ele.files[0]
    let param = new FormData()
    param.append("avatar", file)
    return param
}

export {
    upFile
}